import React, { ReactElement, ReactNode } from 'react'
import styles from './index.less'

interface Props {
    children?: ReactNode
}

export default function index({ children }: Props): ReactElement {
    return (
        <div className={ styles.warp}>
            我是首页
            <div className={ styles.context }>
                { children }
            </div>
        </div>
    )
}
